<template>
    <div>
        <van-list
            v-model="loading"
            :finished="finished"
            finished-text="没有更多了"
            @load="onLoad"
            >
            <van-cell v-for="item in SearchHelper" :key="item" :title="item" />
        </van-list>
    </div>
</template>

<script>
export default {
    props:['SearchHelper'],
    data () {
        return {
            list: [0,1,2,3,4,5,6,7,8],
            loading: false,
            finished: false,

        };
    },
    methods:{
        onLoad(){
            console.log("加载了");
            this.loading = true;
            this.finished = true;
        }
    }
}
</script>
 
<style lang = "less" scoped>
    
</style>